Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDispatcher


InvalidateFacetUnderMouse

Mac OS

The InvalidateFacetUnderMouse method sets the facet pointer, corresponding to the facet under the mouse, to kODNULL.

void InvalidateFacetUnderMouse ();
DISCUSSION
When a facet is removed, OpenDoc calls this method to set the facet pointer to kODNULL (that is, invalidate the cache) and the mouse region to an empty region. This method sets up the GetMouseRegion method (on its next call) to recompute which facet is under the mouse and send mouse-enter, mouse-within, or mouse-leave events, as required.

Your part can call this method to reset the mouse region to a 1-by-1 pixel area at the cursor position.

SEE ALSO
The ODDispatcher::GetMouseRegion method (page 118).
"Mouse-Up Tracking" on page 217 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help